package com.ruicar.afs.cloud.afscase.approvetask.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.afscase.approvetask.entity.WorkProcessScheduleInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-17 11:33
 */
public interface WorkProcessScheduleInfoMapper extends BaseMapper<WorkProcessScheduleInfo> {
    @Select("select stage_id from work_process_schedule_info where apply_no=#{applyNo}")
    List<String> queryFlowInstanceIdsByApplyNo(@Param("applyNo") String applyNo);
}
